home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.3 Development Libraries / SGI IRIX 6.3 Development Libraries.iso / dist / dist6.3 / motif_dev.idb / usr / include / Sgm / RubberBoardP.h.z / RubberBoardP.h
C/C++ Source or Header  |  1996-12-06  |  4KB  |  115 lines

  1. /*******************************************************************************
  2. ///////   Copyright 1992, Silicon Graphics, Inc.  All Rights Reserved.   ///////
  3. //                                                                            //
  4. // This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;     //
  5. // the contents of this file may not be disclosed to third parties, copied    //
  6. // or duplicated in any form, in whole or in part, without the prior written  //
  7. // permission of Silicon Graphics, Inc.                                       //
  8. //                                                                            //
  9. // RESTRICTED RIGHTS LEGEND:                                                  //
  10. // Use,duplication or disclosure by the Government is subject to restrictions //
  11. // as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data     //
  12. // and Computer Software clause at DFARS 252.227-7013, and/or in similar or   //
  13. // successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -    //
  14. // rights reserved under the Copyright Laws of the United States.             //
  15. //                                                                            //
  16. *******************************************************************************/
  17. #ifndef _SgRubberBoardP_h
  18. #define _SgRubberBoardP_h
  19.  
  20.  
  21. #include "RubberBoard.h"
  22. #include <Xm/BulletinBP.h>
  23.  
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif
  27.  
  28. typedef struct _SgRubberBoardConstraintPart
  29. {
  30.     Position initialX, initialY;
  31.     Position finalX, finalY;
  32.  
  33.     Dimension initialWidth, initialHeight;
  34.     Dimension finalWidth, finalHeight;
  35. #ifdef sgi
  36. /* Allow future extensions without breaking shared library compatibility */
  37.    caddr_t _SG_vendorExtension;
  38. #endif /* sgi */
  39. } SgRubberBoardConstraintPart, * SgRubberBoardConstraint;
  40.  
  41. typedef struct _SgRubberBoardConstraintRec
  42. {
  43.    XmManagerConstraintPart     manager;
  44.    SgRubberBoardConstraintPart   rubber;
  45. } SgRubberBoardConstraintRec, * SgRubberBoardConstraintPtr;
  46.  
  47.  
  48. /*  RubberBoard class structure  */
  49.  
  50. typedef struct _SgRubberBoardClassPart
  51. {
  52.    int foo;    /*  No new fields needed  */
  53. #ifdef sgi
  54. /* Allow future extensions without breaking shared library compatibility */
  55.    caddr_t _SG_vendorExtension;
  56. #endif /* sgi */
  57. } SgRubberBoardClassPart;
  58.  
  59.  
  60. /*  Full class record declaration for form class  */
  61.  
  62. typedef struct _SgRubberBoardClassRec
  63. {
  64.    CoreClassPart             core_class;
  65.    CompositeClassPart        composite_class;
  66.    ConstraintClassPart       constraint_class;
  67.    XmManagerClassPart        manager_class;
  68.    XmBulletinBoardClassPart  bulletin_board_class;
  69.    SgRubberBoardClassPart      rubber_class;
  70. } SgRubberBoardClassRec;
  71.  
  72. externalref SgRubberBoardClassRec sgRubberBoardClassRec;
  73.  
  74. /*  The RubberBoard instance record  */
  75.  
  76. typedef struct _SgRubberBoardPart
  77. {
  78.     Dimension initialWidth, initialHeight;
  79.     Dimension finalWidth, finalHeight;
  80.  
  81.     Boolean setInitial, setFinal;
  82.  
  83. #ifdef sgi
  84. /* Allow future extensions without breaking shared library compatibility */
  85.    caddr_t _SG_vendorExtension;
  86. #endif /* sgi */
  87. } SgRubberBoardPart;
  88.  
  89. /*  Full instance record declaration  */
  90.  
  91. typedef struct _SgRubberBoardRec
  92. {
  93.    CorePart            core;
  94.    CompositePart        composite;
  95.    ConstraintPart       constraint;
  96.    XmManagerPart        manager;
  97.    XmBulletinBoardPart  bulletin_board;
  98.    SgRubberBoardPart      rubber;
  99. } SgRubberBoardRec;
  100.  
  101. /********    Private Function Declarations    ********/
  102. #ifdef _NO_PROTO
  103.  
  104. #else
  105.  
  106. #endif /* _NO_PROTO */
  107. /********    End Private Function Declarations    ********/
  108.  
  109. #ifdef __cplusplus
  110. }  /* Close scope of 'extern "C"' declaration which encloses file. */
  111. #endif
  112.  
  113. #endif /* _SgRubberBoardP_h */
  114. /* DON'T ADD ANYTHING AFTER THIS #endif */
  115.